<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>01_text_decoration</title>
    <link rel="stylesheet" href="./css/reset.css">
    <style>
        .baidu {
            /* 
                文本修饰 ：下划线修饰
            */
            text-decoration: underline;
            cursor: pointer;
            color: blue;
        }

        /* 
            删除先
        */
        .google {
            color: red;
            text-decoration: line-through;
        }

        /* 
            上划线
         */
        .bing {
            color: skyblue;
            text-decoration: overline;
        }
    </style>
</head>

<body>
    <a href="http://www.baidu.com">百度一下</a>
    <!-- 用span实现 a 一样的效果,但是这样做的话，标签就没有语义化了 -->
    <span class="baidu">百度一下，你就知道</span>

    <span class="google">google 一下</span>
    <span class="bing">bing 一下</span>

    <a href="www.taobao.com">淘宝一下</a>


</body>

</html>